<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户历史表查看</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link href="../../layui/css/iconfont/iconfont.css" rel="stylesheet" type="text/css">
    <link href="../../layui/css/layui.css" rel="stylesheet" type="text/css">
    <link href="../../css/style.css" rel="stylesheet" type="text/css">
    <link href="../../css/jquery-ui-1.10.4.custom.min.css" rel="stylesheet" type="text/css">
    <script src="../../layui/layui.js"></script>
    <script src="../../js/jquery-1.8.3.js"></script>
    <script src="../../js/util.js"></script>
    <script src="../../js/jquery-ui-1.10.4.custom.min.js"></script>
    <script type="text/javascript">
        layui.use(['form', 'jquery', 'element', 'laydate', 'layer'], function () {
            var form = layui.form;
            var $ = layui.$;
            var layer = layui.layer;
            var seqId = getUrlParam("seqId");
           
            //页面数据初始化
            $(document).ready(function () {
                var url = '/user/findHis';
                var param = {
                    seqId: 1000001717
                };
                $.ajax({
                    type: 'post',
                    async: false,
                    url: url,
                    data: param,
                    beforeSend: function () {
                        loading = layer.load(0, {shade: false});
                    },
                    success: function (json) {
                        layer.close(loading);
                        var data = json.data;
                        $('#seqId').val(data.seqId);
                        $('#userId').val(data.userId);
                        $('#userName').val(data.userName);
                        $('#msisdn').val(data.msisdn);
                        $('#password').val(data.password);
                        $('#dutyName').val(data.dutyName);
                        $('#mgrIdName').val(data.mgrIdName);
                        $('#stateName').val(data.stateName);
                        $('#checkName').val(data.checkName);
                        $('#createTime').val(data.createTime);
                        $('#modifyTime').val(data.modifyTime);
					if(data.countyName ==null){$('#cityName').val(data.cityName);}
					else{$('#cityName').val(data.cityName + data.countyName);}						
                    }
                    ,
                    error: function (data) {
                        layer.msg('系统异常，请联系管理员处理!');
                    }
                });
            });
        });
    </script>
</head>
<body>
	<div class="layui-html-limit">
		<div class="layui-content-body">
			<div class="scroll-box">
				<div class="breadcrumb-box">
					<span class="layui-breadcrumb" lay-separator="|">, . <a
						href=""> &nbsp;用户历史表查看&nbsp; </a>
					</span>
				</div>
				<div class="content-box">
					<div class="layui-form layui-form-pane" action="">
						<div class="layui-form-item">
							<div class="layui-block" pane="">
								<label class="layui-form-label">序列号</label>
								<div class="layui-input-block">
									<input type="text" style="width:auto" id="seqId"
										autocomplete="off" class="layui-input" disabled>
								</div>
							</div>
						</div>
						<div class="layui-form-item">
							<div class="layui-block" pane="">
								<label class="layui-form-label">用户ID</label>
								<div class="layui-input-block">
									<input type="text" style="width:auto" id="userId"
										autocomplete="off" class="layui-input" disabled>
								</div>
							</div>
						</div>
						<div class="layui-form-item">
							<div class="layui-block" pane="">
								<label class="layui-form-label">姓名</label>
								<div class="layui-input-block">
									<input type="text" style="width:auto" id="userName"
										autocomplete="off" class="layui-input" disabled>
								</div>
							</div>
						</div>
						<div class="layui-form-item">
							<div class="layui-block" pane="">
								<label class="layui-form-label">手机号码</label>
								<div class="layui-input-block">
									<input type="text" style="width:auto" id="msisdn"
										autocomplete="off" class="layui-input" disabled>
								</div>
							</div>
						</div>
						<div class="layui-form-item">
							<div class="layui-block" pane="">
								<label class="layui-form-label">密码</label>
								<div class="layui-input-block">
									<input type="text" style="width:auto" id="password"
										autocomplete="off" class="layui-input" disabled>
								</div>
							</div>
						</div>
						<div class="layui-form-item">
							<div class="layui-block" pane="">
								<label class="layui-form-label">归属地</label>
								<div class="layui-input-block">
									<input type="text" style="width:auto" id="cityName"
										autocomplete="off" class="layui-input" disabled>
								</div>
							</div>
						</div>
						 <div class="layui-form-item">
                         <div class="layui-block" pane="">
                            <label class="layui-form-label">创建时间</label>
                            <div class="layui-input-block">
                                <input type="text" id="createTime" autocomplete="off" class="layui-input"
                                        class="layui-input" style="width:auto" disabled>
                            </div>
                            </div>
                            </div>
                             <div class="layui-form-item">
                         <div class="layui-block" pane="">
                            <label class="layui-form-label">修改时间</label>
                            <div class="layui-input-block">
                                <input type="text" id="modifyTime" autocomplete="off" class="layui-input"
                                        class="layui-input" style="width:auto" disabled>
                            </div>
                            </div>
                            </div>
						<div class="layui-form-item">
							<div class="layui-block" pane="">
								<label class="layui-form-label">级别</label>
								<div class="layui-input-block">
									<input type="text" style="width:auto" id="dutyName"
										autocomplete="off" class="layui-input" disabled>
								</div>
							</div>
						</div>						
						<div class="layui-form-item">
							<div class="layui-block" pane="">
								<label class="layui-form-label">项目名</label>
								<div class="layui-input-block">
									<textarea class="layui-textarea"
											style="width: 30%"id="mgrIdName"
										 class="layui-input" disabled></textarea>
								</div>
							</div>
						</div>
						<div class="layui-form-item">
							<div class="layui-block" pane="">
								<label class="layui-form-label">用户状态</label>
								<div class="layui-input-block">
									<input type="text" style="width:auto" id="stateName"
										autocomplete="off" class="layui-input" disabled>
								</div>
							</div>
						</div>
							
							<div class="layui-form-item">
							<div class="layui-block" pane="">
								<label class="layui-form-label">是否审核人</label>
								<div class="layui-input-block">
									<input type="text" style="width:auto" id="checkName"
										autocomplete="off" class="layui-input" disabled>
								</div>
							</div>
						
					</div>

				</div>
			</div>
		</div>
	</div>

</body>
</html>